package com.electronicmallapiidea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.electronicmallapiidea.entity.LoginForm;
import com.electronicmallapiidea.entity.User;
import com.electronicmallapiidea.entity.dto.UserDTO;
import org.springframework.stereotype.Service;

public interface UserService extends IService<User> {
    UserDTO login(LoginForm loginForm);

    User register(LoginForm loginForm);
    User getOne(String username);
}
